import 'dart:math';

import 'package:flutter/material.dart';
import 'package:qqmusic/widget/buji.dart';
import 'package:qqmusic/widget/minitem.dart';
import 'package:qqmusic/widget/more.dart';
import 'package:qqmusic/widget/moreitem.dart';
import 'package:qqmusic/widget/re.dart';
import 'package:qqmusic/widget/search.dart';
import 'package:qqmusic/widget/style.dart';

class reject extends StatefulWidget {
  reject({Key key}) : super(key: key);

  @override
  State<reject> createState() => _rejectState();
}

class _rejectState extends State<reject> {
  @override
  Widget build(BuildContext context) {
    return ListView.builder(
      shrinkWrap: true,
      padding: EdgeInsets.zero,
      itemCount: 8,
      itemBuilder: (BuildContext context, int index) {
        if (index == 0) {
          return search();
        } else if (index == 1) {
          return style();
        } else if (index == 2) {
          return re();
        } else if (index == 3) {
          return buji();
        } else if (index == 4) {
          return re();
        } else if (index == 5) {
          return more();
        }
        return moreitem();
      },
    );
  }
}
